package com.ml.mall.entity.sys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 角色权限对应关系表
 * </p>
 *
 * @author kyyang
 * Created 2021-01-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_role_permission")
@ApiModel(value = "SysRolePermission对象", description = "角色权限对应关系表")
public class SysRolePermission implements Serializable {


    @TableId("roleId")
    private Integer roleId;

    @TableField("permissionId")
    private Integer permissionId;


}
